home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gnome-app-install.postinst < prev    next >
Encoding:
Text File  |  2009-04-30  |  1.3 KB  |  48 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. # Automatically added by dh_pycentral
  6. rm -f /var/lib/pycentral/gnome-app-install.pkgremove
  7. if which pycentral >/dev/null 2>&1; then
  8.     pycentral pkginstall gnome-app-install
  9.     if grep -qs '^gnome-app-install$' /var/lib/pycentral/delayed-pkgs; then
  10.         sed -i '/^gnome-app-install$/d' /var/lib/pycentral/delayed-pkgs
  11.     fi
  12. fi
  13. # End automatically added section
  14. # Automatically added by dh_scrollkeeper
  15. if [ "$1" = "configure" ] && which scrollkeeper-update >/dev/null 2>&1; then
  16.     scrollkeeper-update -q
  17. fi
  18. # End automatically added section
  19. # Automatically added by dh_gconf
  20. if [ "$1" = "configure" ]; then
  21.     gconf-schemas --register gnome-app-install.schemas 
  22. fi
  23. # End automatically added section
  24. # Automatically added by dh_icons
  25. if which update-icon-caches >/dev/null 2>&1 ; then
  26.     update-icon-caches /usr/share/icons/hicolor
  27. fi
  28. # End automatically added section
  29.  
  30.  
  31. if [ "$1" = "configure" ]; then
  32.     # cache the application data
  33.     /usr/sbin/update-app-install || true
  34.     # Provides a gstreamer codec installer
  35.     update-alternatives \
  36.         --install \
  37.         /usr/bin/gstreamer-codec-install \
  38.             gstreamer-codec-install \
  39.             /usr/bin/gnome-app-install \
  40.         80 \
  41.         --slave \
  42.         /usr/share/man/man1/gstreamer-codec-install.1.gz \
  43.             gstreamer-codec-install.1.gz \
  44.             /usr/share/man/man1/gnome-app-install.1.gz
  45. fi
  46.  
  47.  
  48.